package com.yj.ccs.abs.web.asset.entity;

import com.yj.ccs.abs.common.enums.FundRestreamSourceType;
import com.yj.ccs.abs.common.enums.FundRestreamType;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/22
 * Author     : Unbelievable9
 **/
@Data
public class FundRestream {

    private Long id;

    private Long asset_id;

    private LocalDate date;

    private BigDecimal money = BigDecimal.ZERO;

    private FundRestreamType type = FundRestreamType.NONE;

    private BigDecimal note_money = BigDecimal.ZERO;

    private LocalDate expire_date;

    private FundRestreamSourceType source = FundRestreamSourceType.DEBTOR;

    private LocalDateTime create_time;
}
